package flc.ast.bean;

import androidx.annotation.Keep;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

@Keep
@Entity(tableName = "albums")
public class Album {
    @PrimaryKey(autoGenerate = true)
    public int id;
    public String name;

    public Album() {
    }

    @Ignore
    public Album(String name) {
        this.name = name;
    }

    @Ignore
    public Album(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
